import requests
import time
import execjs

t = str(int(time.time()*1000))
url = 'https://www.jdl.cn/ecology/getSession?_={}'.format(t)
headers = {
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
}
res = requests.get(url,headers=headers)
session = res.json()['obj']
ct = execjs.compile(open(r"test3.js",encoding='UTF-8').read()).call('data',session)
print(ct)